package own.stu.jobgib.playown.fsm.easyStates.api;

public interface EventHandler<E extends Event> {

    /**
     * Action method to execute when an event occurs.
     *
     * @param event the triggered event
     * @throws Exception
     */
    void handle(E event) throws Exception;
}
